package model.security;

import java.sql.Timestamp;

/**
 * UsrRoleAuth entity. @author MyEclipse Persistence Tools
 */

public class UsrRoleAuth implements java.io.Serializable {

	// Fields

	private Integer id;
	private UsrAuth usrAuth;
	private UsrRole usrRole;
	private Boolean enabled;
	private Timestamp createtime;

	// Constructors

	/** default constructor */
	public UsrRoleAuth() {
	}

	/** minimal constructor */
	public UsrRoleAuth(UsrRole usrRole) {
		this.usrRole = usrRole;
	}

	/** full constructor */
	public UsrRoleAuth(UsrAuth usrAuth, UsrRole usrRole, Boolean enabled,
			Timestamp createtime) {
		this.usrAuth = usrAuth;
		this.usrRole = usrRole;
		this.enabled = enabled;
		this.createtime = createtime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public UsrAuth getUsrAuth() {
		return this.usrAuth;
	}

	public void setUsrAuth(UsrAuth usrAuth) {
		this.usrAuth = usrAuth;
	}

	public UsrRole getUsrRole() {
		return this.usrRole;
	}

	public void setUsrRole(UsrRole usrRole) {
		this.usrRole = usrRole;
	}

	public Boolean getEnabled() {
		return this.enabled;
	}

	public void setEnabled(Boolean enabled) {
		this.enabled = enabled;
	}

	public Timestamp getCreatetime() {
		return this.createtime;
	}

	public void setCreatetime(Timestamp createtime) {
		this.createtime = createtime;
	}

}